<?php

namespace style;

class parser extends \style\core\parser
{
	function getStyles()
	{
		foreach( self::$sheet as $selector => $data )
		{
			$newSheet.= $selector."\n";
			$newSheet.= "{\n";
			foreach( $data["attributes"] as $attribute_name => $attribute_data )
			{
				if( $attribute_name !== "important" )
				{
					$newSheet.= "  ".$attribute_name.": ".$attribute_data["token"].";\n";
				}
			}
			$newSheet.= "}\n\n";
		}
		return $newSheet;
	}
}

?>
